home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13860 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: tank.news.pipex.net!pipex!iol!usenet
  2. From: David Byrden <Goyra@iol.ie>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: STL vector and compiler warnings
  5. Date: 27 Mar 1996 20:54:24 GMT
  6. Organization: Ireland On-Line
  7. Message-ID: <4jc9u0$hnf@nuacht.iol.ie>
  8. References: <4jc0f5$b43@news.tiac.net>
  9. NNTP-Posting-Host: dialup-079.dublin.iol.ie
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.22KIT (Windows; I; 16bit)
  14.  
  15.  
  16. lindak@pumpkin.iii.net (Linda Kasparek) wrote:
  17.  
  18. >Does anyone know what causes the following compiler warnings (MS VC++ 4.0):
  19. >
  20. >Compiling...
  21. >Vec1.cpp
  22. >\tctools\stl\iterator.h(64) : warning C4114: same type qualifier used more than once
  23. >\tctools\stl\iterator.h(64) : warning C4114: same type qualifier used more than once
  24.  
  25.  
  26.    You can safely ignore these warnings, in fact, you should use the 
  27. appropriate pragma to make them go away. They are caused by expansion of a 
  28. template causing a generated type to have the same modifer (e.g. const) 
  29. more than once.
  30.  
  31.                               David
  32.  
  33.  
  34.